
package com.scalar.chiptrack.marketing;

public class MarketingForecast
{
    private int m_id = -1;
    private String m_salesPerson = null;
    private String m_product = null;
    private String m_customer = null;
    private int m_forecastQty = 0;
    private double m_unitPrice = 0.0f;
    private float m_revenue = 0.0f;
    private int m_month = -1;
    private int m_year = -1;
    private String m_monthName = null;
    private String m_createdDate = null;
    private String m_modifiedDate = null;
    private float m_confidenceLevel = 0.0f;
    private String m_endUser = null;

    public MarketingForecast() {}


    public MarketingForecast( int id, String salesPerson, String customerName, String product,
                              int month, String monthName, int year, int forecastQty,
                              double unitPrice, String createdDate, String modifiedDate, float confidenceLevel )
    {
        m_id = id;
        m_salesPerson = salesPerson;
        m_product = product;
        m_customer = customerName;
        m_month = month;
        m_monthName = monthName;
        m_year = year;
        m_forecastQty = forecastQty;
        m_unitPrice = unitPrice;
        m_createdDate = createdDate;
        m_modifiedDate = modifiedDate;
        m_confidenceLevel = confidenceLevel;
    }


    public int getId()
    {
        return m_id;
    }

    public String getSalesPerson()
    {
        return m_salesPerson;
    }

    public String getProduct()
    {
        return m_product;
    }

    public String getCustomerName()
    {
        return m_customer;
    }

    public int getForecastQty()
    {
        return m_forecastQty;
    }

    public void setForecastQty(int qty)
    {
        m_forecastQty = qty;
    }

    public double getUnitPrice()
    {
        return m_unitPrice;
    }

    public void setUnitPrice( double unitPrice )
    {
        m_unitPrice = unitPrice;
    }

    public float getRevenue()
    {
        return m_revenue;
    }

    public int getMonth()
    {
        return m_month;
    }

    public String getMonthName()
    {
        return m_monthName;
    }

    public void setMonthName(String monthName)
    {
        m_monthName = monthName;
    }

    public int getYear()
    {
        return m_year;
    }

    public void setCustomerName(String customerName){
	  m_customer = customerName;
    }
    public void setProduct(String product){
	  m_product = product;
    }

    public void setSalesPerson(String salesPerson){
	 m_salesPerson = salesPerson;
    }

    public void setMonth(int month){
        m_month = month;
    }

    public void setYear(int year){
        m_year = year;
    }

    // Prabhanjan, Aug 20, 2004
    public float getConfidenceLevel()
    {
        return m_confidenceLevel;
    }

    public void setConfidenceLevel(float confidenceLevel)
    {
        m_confidenceLevel = confidenceLevel;
    }
    public String getEndUser()
    {
        return m_endUser;
    }
    public void setEndUser(String endUser)
    {
        m_endUser = endUser;
    }
}
